package com.weichen.studentgameexchange.comment.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weichen.studentgameexchange.comment.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weichen.studentgameexchange.comment.entity.CommentAuditLog;
import com.weichen.studentgameexchange.comment.entity.vo.AddCommentVo;
import com.weichen.studentgameexchange.common.common.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 惟尘
 * @since 2025-02-05
 */
public interface ICommentService extends IService<Comment> {

    Page<Comment> adminPage(String keyword, Integer page, Integer size);

    void adminDeleteOne(Long commentId);

    CommentAuditLog adminSelectOne(Long commentId);

    Result userPage(Integer page, Integer size);

    Result userAdd(AddCommentVo addCommentVo);

    Result userDeleteOne(Long commentId);

    Result userSelect(Long userId);
}
